package com.forg.common;

import org.springframework.web.context.ContextLoaderListener;

import javax.servlet.ServletContextEvent;

/**
 * Created by forgkan on 15.11.9.
 */
public class SystemContextListener extends ContextLoaderListener {

    @Override
    public void contextInitialized(ServletContextEvent event) {
        super.contextInitialized(event);

        System.out.println("[forgkan] prodiver startup...");
    }

    @Override
    public void contextDestroyed(ServletContextEvent event) {
        super.contextDestroyed(event);

        System.out.println("[forgkan] prodiver stoped...");
    }
}
